package com.yami.shop.bean.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品对接DTO
 */
@Data
@ApiModel("商品对接DTO")
public class ProductDockingDTO implements Serializable {
    
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("商品ID")
    private Long prodId;

    @ApiModelProperty("商品名称")
    private String prodName;

    @ApiModelProperty("商品分类ID")
    private Long categoryId;

    @ApiModelProperty("分类名称")
    private String categoryName;

    @ApiModelProperty("店铺ID")
    private Long shopId;

    @ApiModelProperty("店铺名称")
    private String shopName;

    @ApiModelProperty("店铺对接码")
    private String shopCode;

    @ApiModelProperty("是否需要审核（0-不需要 1-需要）")
    private Integer auditStatus;

    @ApiModelProperty("对接状态（0-待审核 1-已通过 2-已拒绝）")
    private Integer dockingStatus;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;

    @ApiModelProperty("库存")
    private Integer totalStocks;

    @ApiModelProperty("供货价格")
    private Double proxyFarePrice;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime;
} 